function checkParams() {
    if($.trim($("#permission").val()).length === 0) {
        $("#errorMsg").html("请填写权限");
        return;
    }

    if($.trim($("#name").val()).length === 0) {
        $("#errorMsg").html("请填写权限名称");
        return;
    }

    loadSearchData();
}